﻿using System.Windows;
using GameEngine.Clients.Silverlight;
using GameEngine.Clients.Silverlight.View.Components;
using GameEngine.View.Components;
using GameEditor.View;
using SilverlightClientEditor.View.Components;
using GameEngine.Model;
using GameEditor.View.Components;

namespace SilverlightClientEditor.View
{
    /// <summary>
    /// </summary>
    public class SilverlightGameEditorMenuMediator : GamePropertiesEditor_MenuMediator<int>
    {
        public SilverlightGameEditorMenuMediator(
            string name,
            IGameEditorMenuView<int> view,
            IGameDataProxy<int> dataProxy,
            string outCommand)
            : base(name, view, dataProxy,outCommand)
        {
        }

        public new GamePropertiesEditorUC ViewComponent
        {
            get { return base.ViewComponent as GamePropertiesEditorUC; }
        }

        public override void OnRegister()
        {
            base.OnRegister();
            //SilverlightApplicationFacadeHelper<MyGameView, MyLevelView>.DesktopNavigate(ViewComponent);
        }
    }
}